<!DOCTYPE HTML>
<html>
<body>
<div id="d" style="border:20px solid black; height:200px; width:200px;">
  <div style="width:200px; height:50px; background:yellow"></div>
  <div style="height:100px; background:blue;"></div>
  <div style="height:50px; background:orange;"></div>
</div>
</body>
</html>

